package microgame.toolset.datatable;

import java.util.Hashtable;

public class Row {
    private Hashtable<String, String> stringProperties = new Hashtable<>();
    private Hashtable<String, Float> floatProperties = new Hashtable<>();
    private Hashtable<String, Integer> integerProperties = new Hashtable<>();

    public void SetString(String key, String value) {
        stringProperties.put(key, value);
    }

    public String GetString(String key) {
        return stringProperties.get(key);
    }

    public void SetFloat(String key, float value) {
        floatProperties.put(key, value);
    }

    public float GetFloat(String key) {
        return floatProperties.get(key);
    }

    public void SetInteger(String key, int value) {
        integerProperties.put(key, value);
    }

    public int GetInteger(String key) {
        return integerProperties.get(key);
    }
}
